Global Index
HTML5 JS API Index > SVG Tutorials & Specs

SVGViewElement

Extends SVGElement. Implements SVGExternalResourcesRequired, SVGFitToViewBox, SVGZoomAndPan, SVGExternalResourcesRequired, SVGFitToViewBox, SVGZoomAndPan.

Properties
const unsigned short
SVG_ZOOMANDPAN_DISABLE = 1
Corresponds to value 'disable'.
const unsigned short
SVG_ZOOMANDPAN_MAGNIFY = 2
Corresponds to value 'magnify'.
const unsigned short
SVG_ZOOMANDPAN_UNKNOWN = 0
The enumeration was set to a value that is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
SVGAnimatedBoolean
externalResourcesRequired
Corresponds to attribute ‘externalResourcesRequired’ on the given element. Note that the SVG DOM defines the attribute ‘externalResourcesRequired’ as being of type SVGAnimatedBoolean, whereas the SVG language definition says that ‘externalResourcesRequired’ is not animated.
SVGAnimatedPreserveAspectRatio
preserveAspectRatio
Corresponds to attribute ‘preserveAspectRatio’ on the given element.
SVGAnimatedRect
viewBox
Corresponds to attribute ‘viewBox’ on the given element.
SVGStringList
viewTarget
Corresponds to the viewTarget setting on the SVG View Specification.
unsigned short
zoomAndPan
Corresponds to attribute ‘zoomAndPan’ on the given element. The value must be one of the SVG_ZOOMANDPAN_* constants defined on this interface. Exceptions on settingDOMException, code NO_MODIFICATION_ALLOWED_ERR Raised on an attempt to change the value of a read only attribute.